<template>
	<view class="feedback">
		<view class="feedback-box">
			<form @submit="formSubmit">
				<textarea class="text-box" name="content" placeholder-style="color:#999999" maxlength="-1"
					placeholder="请输入您的意见以及反馈问题" />
				<button form-type="submit" class="submit">提交</button>
			</form>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			formSubmit: function(e) {
				console.log('form发生了submit事件，携带数据为：' + JSON.stringify(e.detail.value))
				var formdata = e.detail.value
				uni.reLaunch({
					url:'../../mine'
				})
			},
		}
	}
</script>

<style scoped lang="less">
	.submit {
		margin-top: 200rpx;
		width: 100%;
		height: 88rpx;
		background: #FF7200;
		opacity: 1;
		border-radius: 20rpx;
		color: #ffffff;
		line-height: 88rpx;
		text-align: center;
	}

	.feedback {
		padding: 40rpx;

		.feedback-box {
			width: 100%;
			height: 346rpx;
			background: #FFFFFF;
			opacity: 1;
			border-radius: 20rpx;

			.text-box {
				padding: 40rpx;
				overflow-y: hidden;
				height: 280rpx;
			}
		}
	}
</style>
